#ifndef _RECORD_TIME_H_
#define _RECORD_TIME_H_


#include <time.h>
#include <stdio.h>


#define START_RECORD_TIME(segment_name)													\
{																						\
	int start_record_time, end_record_time;												\
	start_record_time = clock();


#define END_RECORD_TIME(segment_name)													\
	end_record_time = clock();															\
	printf(segment_name" waste time : %d ms\n", end_record_time - start_record_time);	\
}


#endif
